package bomberman.entity;

import java.awt.Graphics;
import java.awt.Rectangle;

import bomberman.BombermanGameLevel;


import gameframework.base.Drawable;
import gameframework.base.DrawableImage;
import gameframework.base.Overlappable;
import gameframework.game.GameEntity;
import gameframework.game.GameMovable;

public abstract class Bonus extends GameMovable implements Drawable, GameEntity, Overlappable{
	protected DrawableImage image = null;
	
	@Override
	public void oneStepMoveHandler() {
		//nothing to do
	}

	@Override
	public void draw(Graphics g) {
		g.drawImage(image.getImage(), (int) getPosition().getX(),
				(int) getPosition().getY(), BombermanGameLevel.SPRITE_SIZE, BombermanGameLevel.SPRITE_SIZE, null);
	}

	@Override
	public Rectangle getBoundingBox() {
		return (new Rectangle((int) getPosition().getX(), (int) getPosition().getY(),
				BombermanGameLevel.SPRITE_SIZE, BombermanGameLevel.SPRITE_SIZE));
	}
}
